package com.qf.adminDao;

import com.qf.pojo.Goods;
import com.qf.pojo.GoodsType;

import java.util.List;

/**
 * @author bss
 * @version V1.0
 * @Project maven
 * @Package com.qf.adminDao
 * @Description:
 * @Date 2022/10/4 20:08
 */
public interface AdminGoodsDao {
    List<Goods> showAll();

    void addGood(Goods goods);

    List<GoodsType> showAllGoodsTypes();

    void addGoodType(String typename, String goodsParent);

    GoodsType findById(int typeid);
}
